package com.weiweiqin.model;

import java.io.Serializable;
import java.util.Date;

public class Brands implements Serializable {

	private static final long serialVersionUID = -7970848646314840519L;

	private int id;

	private String name = "";
	
	private Date updateDate;
	
	private int orderKey;
	
	/**
	 * 品牌图片地址
	 */
	private String pic;
	
	/**
	 * 已失效
	 */
	private int added;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public int getAdded() {
		return added;
	}

	public void setAdded(int added) {
		this.added = added;
	}
	
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("id=");
		sb.append(id);
		sb.append(":name=");
		sb.append(name);
		sb.append(":updateDate=");
		sb.append(updateDate);
		return sb.toString();
	}

	public int getOrderKey() {
		return orderKey;
	}

	public void setOrderKey(int orderKey) {
		this.orderKey = orderKey;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

}